﻿// Decompiled with JetBrains decompiler
// Type: DnProcessSimulateCommands.PoseEditor.CCoKinPoseJumpToCmd
// Assembly: DnProcessSimulateCommands, Version=2402.0.0.890, Culture=neutral, PublicKeyToken=null
// MVID: A885D881-AEDF-447E-852A-6F13102E089C
// Assembly location: C:\Program Files\Tecnomatix_2402\eMPower\DotNetCommands\DnProcessSimulateCommands.dll

using Tecnomatix.Engineering;
using Tecnomatix.Engineering.Ui;


namespace DnProcessSimulateCommands.PoseEditor;

public class CCoKinPoseJumpToCmd : TxButtonCommand
{
  public virtual string Category => PoseEditorStringTable.CMD_CATEGORY;

  public virtual string Name => PoseEditorStringTable.CMD_POSE_JUMP_TO_NAME;

  public virtual string Tooltip => PoseEditorStringTable.CMD_POSE_JUMP_TO_TOOLTIP;

  public virtual string Description => PoseEditorStringTable.CMD_POSE_JUMP_TO_DECRIPTION;

  public virtual string Bitmap => "PoseEditor.PoseJumpTo.bmp";

  public virtual string LargeBitmap => "PoseEditor.PoseJumpTo_LARGE.png";

  public virtual ITxImage Image => (ITxImage) TxImageManager.GetImageByKey("JumpToPose");

  public virtual void Execute(object cmdParams)
  {
    if (!(cmdParams is TxPose pose))
      return;
    CApKinPoseEditorUtils.JumpToPose(pose);
  }
}
